package com.kongyz.state;

import com.kongyz.Context;

/**
 * @author kongyz
 * @date 2018/7/3 22:22
 * @Description:
 */
public class StopState implements State {
    public void doAction(Context context) {
        System.out.println("关闭状态");
        context.setState(this);
    }

    @Override
    public String toString() {
        return "关闭状态";
    }
}
